import createAxios from '/@/utils/axios'

export const url = '/admin/feedback.records/'

export function info(id: string) {
    return createAxios({
        url: url + 'info',
        method: 'get',
        params: {
            id: id,
        },
    })
}


export function restore(id: number,replyContent:string) {
    return createAxios(
        {
            url: url + 'restore',
            method: 'POST',
            data: {
                id: id,
                content:replyContent
            },
        },
        {
            showSuccessMessage: true,
        }
    )
}
